A Methodology for the Automated Introduction of Design Patterns
نویسندگان
چکیده
In reengineering legacy code it is frequently useful to introduce a design pattern in order to add clarity to the system and thus facilitate further program evolution. We show that this type of transformation can be automated in a pragmatic manner and present a methodology for the development of design pattern transformations. We address the issues of the definition of a starting point for the transformation, the decomposition of a pattern into minipatterns and the development of corresponding minitransformations that can introduce these minipatterns to a program. We argue that behaviour preservation is a key issue and develop a rigorous argument of this for each minitransformation we discover. The architecture of an existing software prototype is also discussed and the results of applying this methodology to develop a transformation for the Factory Method pattern are presented.
منابع مشابه
DESIGN OPTIMIZATION OF RC FRAMES UNDER EARTHQUAKE LOADS
This paper deals with the optimization of reinforced concrete (RC) structures under earthquake loads by introducing a simple methodology. One of the most important problems in the design of RC structures is the existing of various design scenarios that all of them satisfy design constraints. Despite of the steel structures, a large number of design candidates due to a large number of design var...
متن کاملDesign and Implementation of an Automated Dispensing Device for Reducing Methadone Therapy Misuse
Introduction: A variety of (deliberate or inaccurate) errors in drug rehabilitation clinics may occur due to use of addictive drugs. Automated drug distribution systems play a significant role in reducing drug medication errors. Method: Firstly, according to the addiction rehabilitation centers requests, the design and construction of the device was performed. The prototype systems were examin...
متن کاملProcess Capability Studies in an Automated Flexible Assembly Process: A Case Study in an Automotive Industry
Statistical Process Control (SPC) methods can significantly increase organizational efficiency if appropriately used. The primary goal of process capability studies is to obtain critical information about processes to render them even more effective. This paper proposes a comprehensive framework for proper implementation of SPC studies, including the design of the sampling procedure and interva...
متن کاملAutomated ribotyping and antibiotic resistance determining of Bacillus spp from conjunctiva of diabetic patients
Objective(s): We aimed to characterize the phenotype and genotype of Bacillus spp isolated from diabetic patients’ eyes, by studying the drug sensitivity patterns with a disc-diffusion method. Materials and Methods: Fifty eyes of 25 patients with type II diabetes mellitus, with at least 10 years of diabetes history, were included in the study. We analyzed the eyes for the presence of Bacillus ...
متن کاملPerformance characteristics of three automated immunoassays for thyroid hormones
Background: Since the introduction of the first radioimmunoassay, several improvements have been made in the design of immunoassays such as method of antibody production, labeling, automation and detection technology. We performed an analytical evaluation of the new electrochemiluminescent immunoassay (ECLIA) for serum TSH, FT4 and T3 in the Elecsys 2010 immunoassay system and compared the resu...
متن کاملA Proposed Data Mining Methodology and its Application to Industrial Procedures
Data mining is the process of discovering correlations, patterns, trends or relationships by searching through a large amount of data stored in repositories, corporate databases, and data warehouses. Industrial procedures with the help of engineers, managers, and other specialists, comprise a broad field and have many tools and techniques in their problem-solving arsenal. The purpose of this st...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999